$(function(){
    var productid=location.search.substring(1).split("=")[1];
    $.ajax({
        type: "get",
        url: "http://193.112.55.79:9090/api/getmoneyctrlproduct",
        data: {
            productid:productid
        },
        dataType: "json",
        success: function (result) {
            console.log(result);
            var html=template('detailTemp',result);
            // console.log(html);
            $('.box').html(html);
        }
    });

})